package com.ldj.dao;

import com.ldj.model.User;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserMapper extends Mapper<User> {

    User getUserById(String id);

    void saveUser(User user);

    void updateUser(User user);

    void deleteUser(String id);

    void insertByBatch(List<User> userList);

    void deleteByBatch(List<String> idList);
}
